Repository navigation
Conversation
itzzdev09
marked this pull request as ready for review
November 23, 2026 05:00
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
pyproject.tomlcapsdeprecatedat<2. Deprecated 3.0.0 was released on 26 Sep (there is no 2.x), so commitizen can't be installed next to packages that require it. This raises the cap to<4(deprecated (>=1.2.13, <4));uv.lockchanges only in therequires-distspecifier anduv lock --checkpasses.commitizen only uses
@deprecatedonchangelog.get_smart_tag_range. Deprecated 3.0 keeps that API; it drops Python < 3.12 (pip keeps 3.10/3.11 on 1.3.x) and removesdeprecated.__date__/deprecated.classic.string_types, which aren't used here.Checklist
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code following the guidelines
Code Changes
uv run poe alllocally to ensure this change passes linter check and testsExpected Behavior
pip install commitizenworks next todeprecated>=3, and callingget_smart_tag_rangestill emitsCall to deprecated function (or staticmethod) get_smart_tag_range. ..., so thefilterwarningsentry inpyproject.tomlkeeps matching.Steps to Test This Pull Request
uv pip install -e . --group test "deprecated==3.0.0"on Python 3.12pytest testsResults on Python 3.12 (Windows): 1327 passed with both Deprecated 1.3.1 and 3.0.0. The same 4
test_bump_pre_commit_changelog*tests fail on both versions on my machine (they shell out to pre-commit/prek). The deprecation warning text forget_smart_tag_rangeis identical on both versions.Additional Context
Deprecated 3.0.0 changelog: https://github.com/laurent-laporte-pro/deprecated/blob/master/CHANGELOG.rst